/** When your routing table is too long, you can split it into small modules **/

import Layout from '@/layout'

const messageRouter = {
  path: '/message',
  component: Layout,
  redirect: 'noRedirect',
  name: '消息',
  meta: {
    title: '消息',
    icon: 'nested'
  },
  children: [
    {
      path: 'inbox',
      component: () => import('@/views/message/inbox/index'), // Parent router-view
      name: '全部',
      hidden:true,
      meta: { title: '全部' }
      // redirect: '/message/inbox/index',
    },
    {
      path: 'setting',
      name: '设置',
      hidden:true,
      component: () => import('@/views/message/setting/index'),
      meta: { title: '设置' }
    }
  ]
}

export default messageRouter
